package final2107.day06;

public class LazySingleton {
    private LazySingleton(){}
    private static LazySingleton singleton;

    public synchronized static LazySingleton getInstance(){
        if (singleton==null)
            singleton = new LazySingleton();
        return singleton;
    }
}
